<?php

declare(strict_types=1);

namespace App\Chat\Request;

use Mine\MineFormRequest;

class SettingConfigRequest extends MineFormRequest
{
    public function saveRules(): array
    {
        return [
            'trigger_reply' => 'in:0,1',
            'offline_reply' => 'in:0,1',
            'quick_match' => 'in:0,1',
            'hide_empty_group' => 'in:0,1',
            'progress_notify_bar' => 'in:0,1',
            'progress_notify_bar_unit' => 'in:1,2,3',
            'progress_popup' => 'in:0,1',
            'progress_popup_unit' => 'in:1,2,3',
        ];
    }
}